//
//  PpBaseTool.swift
//  Palmpilot
//
//  Created by 杨伟毅 on 2018/10/20.
//  Copyright © 2018年 杨伟毅. All rights reserved.
//

import UIKit

class PpBaseTool: NSObject {
    
    class func insetTableViewAndUIViewController(baseView:UIScrollView,baseVC:UIViewController)
    {
        if #available(iOS 11.0, *) {
            baseView.contentInsetAdjustmentBehavior = .never
        } else {
            baseVC.automaticallyAdjustsScrollViewInsets  = false
        }
    }
}
